package com.smarttiger.zero.admin.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

@Entity
@Table(name = "task")
public class TaskModel extends BaseEntity {

    @Column(name = "cron",length = 100)
    private String cron;

    @Column(name = "name",length = 100)
    private String name;

    @Column(name = "code", length = 100)
    private String code;

    @Column(name = "note", length = 1000)
    private String note;

    @Column(name = "status", length = 20)
    private String status;

    @Column(name = "isAuto", length = 2)
    private String isAuto;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getIsAuto() {
        return isAuto;
    }

    public void setIsAuto(String isAuto) {
        this.isAuto = isAuto;
    }

    public String getCron() {
        return cron;
    }

    public void setCron(String cron) {
        this.cron = cron;
    }
}
